package com.example.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.entity.StudentsEntity;
import com.example.entity.StudentsFindEntity;
import com.example.mapper.StudentsMapper;
import com.example.service.StudentsService;

@Service
public class StudentsServiceImpl implements StudentsService{

	@Autowired
	private StudentsMapper studentMapper;
	
	@Override
	public List<StudentsEntity> find(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.find(se);
	}

	@Override
	public int getCount(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.getCount(se);
	}

	@Override
	public int addStudents(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.addStudents(se);
	}

	@Override
	public int upStudents(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.upStudents(se);
	}

	@Override
	public int delStudents(Integer id) {
		// TODO Auto-generated method stub
		return studentMapper.delStudents(id);
	}

	@Override
	public int payment(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.payment(se);
	}

	@Override
	public List<StudentsEntity> getStudent() {
		// TODO Auto-generated method stub
		return studentMapper.getStudent();
	}

	@Override
	public int getConsultantStudent(String askerid) {
		// TODO Auto-generated method stub
		return studentMapper.getConsultantStudent(askerid);
	}

	@Override
	public int distributionConsultant(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.distributionConsultant(se);
	}

	@Override
	public int distributionConsultants(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.distributionConsultants(se);
	}

	@Override
	public List<StudentsFindEntity> exportStudent(StudentsEntity se) {
		// TODO Auto-generated method stub
		return studentMapper.exportStudent(se);
	}

}
